import request from "@/router/axios";

export const getList = (params = {}) => {
  return request({
    url: "/api/things-task/task/getAuditList",
    method: "get",
    params: { ...params },
  });
};
export const findResourceByIds = (params = {}) => {
  return request({
    url: "/api/things-resource/findResourceByIds",
    method: "get",
    params: { ...params },
  });
};

export const getRecordList = (params = {}) => {
  return request({
    url: "/api/things-task/task/getRecordList",
    method: "get",
    params: { ...params },
  });
};

export const doAudit = (params = {}) => {
  return request({
    url: "/api/things-task/task/doAudit",
    method: "post",
    data: { ...params },
  });
};
export const weixinPay = (params = {}) => {
  return request({
    url: "/api/things-task/weixinpay",
    method: "post",
    data: { ...params },
  });
};
